package org.pim.smart.hibernate.domain;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractContactTag entity provides the base persistence definition of the
 * ContactTag entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractContactTag implements java.io.Serializable {

	// Fields

	private Integer tagOid;
	private SysUser sysUser;
	private String tagName;
	private Date createDate;
	private Byte defaultTag;
	private Set tagContactMaps = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractContactTag() {
	}

	/** minimal constructor */
	public AbstractContactTag(SysUser sysUser, String tagName, Date createDate,
			Byte defaultTag) {
		this.sysUser = sysUser;
		this.tagName = tagName;
		this.createDate = createDate;
		this.defaultTag = defaultTag;
	}

	/** full constructor */
	public AbstractContactTag(SysUser sysUser, String tagName, Date createDate,
			Byte defaultTag, Set tagContactMaps) {
		this.sysUser = sysUser;
		this.tagName = tagName;
		this.createDate = createDate;
		this.defaultTag = defaultTag;
		this.tagContactMaps = tagContactMaps;
	}

	// Property accessors

	public Integer getTagOid() {
		return this.tagOid;
	}

	public void setTagOid(Integer tagOid) {
		this.tagOid = tagOid;
	}

	public SysUser getSysUser() {
		return this.sysUser;
	}

	public void setSysUser(SysUser sysUser) {
		this.sysUser = sysUser;
	}

	public String getTagName() {
		return this.tagName;
	}

	public void setTagName(String tagName) {
		this.tagName = tagName;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Byte getDefaultTag() {
		return this.defaultTag;
	}

	public void setDefaultTag(Byte defaultTag) {
		this.defaultTag = defaultTag;
	}

	public Set getTagContactMaps() {
		return this.tagContactMaps;
	}

	public void setTagContactMaps(Set tagContactMaps) {
		this.tagContactMaps = tagContactMaps;
	}

}